﻿// ---------------------------------------------------------------------------------------------------------------------
// 名    称：网络硬盘实体类
// 功    能：提供网络硬盘实体属性
// 创建日期：2012.10.9
// 创 建 人：刘剑

// 修改时间               修改人                  修改描述                                          备注
// ---------------------------------------------------------------------------------------------------------------------
// 
// ---------------------------------------------------------------------------------------------------------------------

using System;
using System.Collections.Generic;
using System.Text;
namespace AnyOffice.Model
{
    /// <summary>
    /// 网络硬盘实体类
    /// </summary>
    [Serializable]
    public class Disk
    {
        public Disk()
        { }
        #region Model
        private long _diskid;
        private long _parentdiskid;
        private string _userid;
        private int _filetypeid;
        private string _name;
        private string _keyword;
        private DateTime? _sharestarttime;
        private DateTime? _shareendtime;
        private string _sharedept;
        private string _sharerole;
        private string _shareuser;
        private string _readuser;
        private string _writeuser;
        private string _downloaduser;
        private string _readdept;
        private string _writedept;
        private string _downloaddept;
        private string _readrole;
        private string _writerole;
        private string _downloadrole;
        private DateTime? _updatetime;
        private int? _disktypeid;
        private decimal _filesize;
        private int seq;

        public int Seq //排序号
        {
            get { return seq; }
            set { seq = value; }
        }
        /// <summary>
        /// 网络硬盘ID
        /// </summary>
        public long DiskID
        {
            set { _diskid = value; }
            get { return _diskid; }
        }
        /// <summary>
        /// 网络硬盘父ID
        /// </summary>
        public long ParentDiskID
        {
            set { _parentdiskid = value; }
            get { return _parentdiskid; }
        }
        /// <summary>
        /// 所有人ID
        /// </summary>
        public string UserID
        {
            set { _userid = value; }
            get { return _userid; }
        }
        /// <summary>
        /// 文件类型ID 0：文件夹  不为0则是文件的类型
        /// </summary>
        public int FileTypeID
        {
            set { _filetypeid = value; }
            get { return _filetypeid; }
        }
        /// <summary>
        /// 文件名或目录名
        /// </summary>
        public string Name
        {
            set { _name = value; }
            get { return _name; }
        }
       
        /// <summary>
        /// 关键词
        /// </summary>
        public string Keyword
        {
            set { _keyword = value; }
            get { return _keyword; }
        }
        /// <summary>
        /// 共享开始时间
        /// </summary>
        public DateTime? ShareStartTime
        {
            set { _sharestarttime = value; }
            get { return _sharestarttime; }
        }
        /// <summary>
        /// 共享结束时间
        /// </summary>
        public DateTime? ShareEndTime
        {
            set { _shareendtime = value; }
            get { return _shareendtime; }
        }
        /// <summary>
        /// 共享部门 逗号隔开
        /// </summary>
        public string ShareDept
        {
            set { _sharedept = value; }
            get { return _sharedept; }
        }
        /// <summary>
        /// 共享角色 逗号隔开
        /// </summary>
        public string ShareRole
        {
            set { _sharerole = value; }
            get { return _sharerole; }
        }
        /// <summary>
        /// 共享用户 逗号隔开
        /// </summary>
        public string ShareUser
        {
            set { _shareuser = value; }
            get { return _shareuser; }
        }
        /// <summary>
        /// 只读用户 逗号隔开
        /// </summary>
        public string ReadUser
        {
            set { _readuser = value; }
            get { return _readuser; }
        }
        /// <summary>
        /// 读写用户 逗号隔开
        /// </summary>
        public string WriteUser
        {
            set { _writeuser = value; }
            get { return _writeuser; }
        }
        /// <summary>
        /// 下载用户 逗号隔开
        /// </summary>
        public string DownloadUser
        {
            set { _downloaduser = value; }
            get { return _downloaduser; }
        }
        /// <summary>
        /// 只读权限部门 逗号隔开
        /// </summary>
        public string ReadDept
        {
            set { _readdept = value; }
            get { return _readdept; }
        }
        /// <summary>
        /// 读写权限部门 逗号隔开
        /// </summary>
        public string WriteDept
        {
            set { _writedept = value; }
            get { return _writedept; }
        }
        /// <summary>
        /// 下载权限部门 逗号隔开
        /// </summary>
        public string DownloadDept
        {
            set { _downloaddept = value; }
            get { return _downloaddept; }
        }
        /// <summary>
        /// 只读用户角色 逗号隔开
        /// </summary>
        public string ReadRole
        {
            set { _readrole = value; }
            get { return _readrole; }
        }
        /// <summary>
        /// 读写用户角色 逗号隔开
        /// </summary>
        public string WriteRole
        {
            set { _writerole = value; }
            get { return _writerole; }
        }
        /// <summary>
        /// 下载用户角色 逗号隔开
        /// </summary>
        public string DownloadRole
        {
            set { _downloadrole = value; }
            get { return _downloadrole; }
        }
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? UpdateTime
        {
            set { _updatetime = value; }
            get { return _updatetime; }
        }
        /// <summary>
        /// 网络硬盘类别ID
        /// </summary>
        public int? DiskTypeID
        {
            set { _disktypeid = value; }
            get { return _disktypeid; }
        }
        /// <summary>
        /// 文件大小
        /// </summary>
        public decimal FileSize
        {
            set { _filesize = value; }
            get { return _filesize; }
        }
        #endregion Model

    }
}

